import requests

url = 'https://twitter.com'

# 获取相应
# timeout: 以秒为单位，设置请求超时时间，提高爬虫效率
response = requests.get(url, timeout=3)




